package com.ling.dao;

import com.ling.bean.UserUpvoteAnswer;
import com.ling.bean.UserUpvoteAnswerExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserUpvoteAnswerMapper {
    long countByExample(UserUpvoteAnswerExample example);

    int deleteByExample(UserUpvoteAnswerExample example);

    int deleteByPrimaryKey(String id);

    int insert(UserUpvoteAnswer record);

    int insertSelective(UserUpvoteAnswer record);

    List<UserUpvoteAnswer> selectByExample(UserUpvoteAnswerExample example);

    UserUpvoteAnswer selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") UserUpvoteAnswer record, @Param("example") UserUpvoteAnswerExample example);

    int updateByExample(@Param("record") UserUpvoteAnswer record, @Param("example") UserUpvoteAnswerExample example);

    int updateByPrimaryKeySelective(UserUpvoteAnswer record);

    int updateByPrimaryKey(UserUpvoteAnswer record);
}